//
//  YZPublishCommunityViewModel.h
//  VET
//
//  Created by YZ on 2018/7/10.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import "YZBaseTableViewModel.h"
#import "YZPublishCommunityContentModel.h"
#import "YZPublishCommunityFunctionModel.h"
#import "YZPublishCommunityImgModel.h"
#import "YZPublishCommunityVideoModel.h"
#import <Photos/Photos.h>
#import "YZNetworkManager.h"

@interface YZPublishCommunityViewModel : YZBaseTableViewModel

@property (nonatomic, assign, readonly) BOOL success;

@property (nonatomic, strong) NSArray<UIImage *> *selectedPhotos;

@property (nonatomic, strong) NSArray *selectedAssets;

@property (nonatomic, strong) NSDictionary *currentVideoAssertInfo;

@property (nonatomic, assign) int videoOrientation;

- (void)startRequestCommunityLocating;

- (void)stopRequestCommunityLocating;

- (CLLocation *)getCommunityLocattion;

- (void)publishCommunitySuccess:(YZNetworkCompletionSuccessBlock)successBlock fail:(YZNetworkCompletionFailBlock)failBlock;

@end
